New Contact, Default flow Out of office hours notifications
There may be a requirement to start a specific flow when a new contact sends any message for the very first time to the BOT.
Configure New Contact flow
- Click on
Settings
icon from the sidebar.
- Click on the
Flows
from the left panel.
- Select
New contact flow
**** checkbox. If theNew contact flow
checkbox is unselected, then no flow will execute for the new contact for the very first message.
- Select the flow from the dropdown which you want to execute when a new contact sends a message for the very first time.
- Click on the
Save
button
There may be a requirement to send automated responses, when contact send any keyword which is not assigned to any flow or send responses during the non working hours. NGOs can configure Default flow in Glific and assign a flow to respond.
Configure Default flow
- Click on
Settings
icon from sidebar.
- Click on
Flows
from left panel.
-
Select
Default flow
checkbox. -
Select the flow, which you want to use as default flow.
-
Select the
days
of working from the dropdown -
Select the
start
andstop
hours from the clock icon.
Trigger a flow during non working hours
-
Select the flow which you want to trigger, if user sends any message in out of operations hours.(Hours outside of the hours selected for default flow) .
-
Click on
Save
button activate it.
- You can deactivate it any time by unselecting the
Default flow
checkbox.
Some details about Default flow
flow.
- It will not work for new contacts, when they message it for the very first time.
- If beneficiary enters any keyword of any flow, then that particular flow will execute, not the flow selected in
out of
Hours of operation
. - The
out of Hours of operation
flow will be executed only once in a day for each contact,
Regular Expression Flow
-
Regular expressions (or regex) helps you find and work with text, based on patterns.
-
Thus making it a powerful tool for searching, replacing, or validating information in a large set of data.
-
For a simple regular expression to match a 10-digit number, you can use: “[0-9]10”
-
You can read and play around with regular expressions here
-
The selected flow will trigger when end-users aren’t in any flow, their message doesn’t match any keyword, and their message matches the regular expression defined under Regular Expression.